package com.jvm123.api.util;

import java.util.List;

/**
 * @author yawn
 * @date 2021/3/13 星期六
 */
public class Page<T> {

    private int page;
    private int size;

    private List<T> dataList;

    public Page(int page, int size, List<T> dataList) {
        this.page = page;
        this.size = size;
        this.dataList = dataList;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public List<T> getDataList() {
        return dataList;
    }

    public void setDataList(List<T> dataList) {
        this.dataList = dataList;
    }
}
